package com.csii.modules.online.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.csii.core.system.vo.SysPermissionDataRuleModel;
import com.csii.modules.online.auth.entity.OnlAuthData;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: OnlCgform字段操作dao
 * @Author: power-stdio
 * @Date: 2019-01-02
 * @Version: V1.0
 *
 */
public interface OnlAuthDataMapper extends BaseMapper<OnlAuthData> {
	/**
	 * queryOwnerAuth
	 * @param userId .
	 * @param cgformId .
	 * @return List<SysPermissionDataRuleModel>
	 */
	List<SysPermissionDataRuleModel> queryOwnerAuth(@Param("userId") String userId, @Param("cgformId") String cgformId);
}
